<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        /* 多类名 */
        .font20 {
            font-size: 20px;
        }

        .font14 {
            font-size: 20px;
        }

        .pink {
            color: pink;
        }

        .weight {
            font-weight: bold;
        }
    </style>
</head>

<body>
    <div class="font20 pink">亚瑟</div>
    <div class="font20">刘备</div>
    <div class="font14 weight">安其拉</div>
    <div class="font14 pink">貂蝉</div>
</body>

</html>